package org.example.Mapper;


import org.apache.ibatis.annotations.Mapper;
import org.example.Pojo.Student;

import java.util.List;

@Mapper
public interface StudentMapper {


    /*
    * 学员列表查询
    * */
    public List<Student> getStudents(String name,Integer degree,Integer clazzId);

    /*
    * 添加学员
    * */
    public void addStudent(Student student);

    /*
    * 更具Id查询学生
    * */
    public Student getStudentById(Integer id);


    /*
    * 更新学生信息
    * */
    public void updateStudent(Student student);

    /*
    * 删除学生
    * */
    public void deleteStudent(List<Integer> ids);
}
